package com.fortune.enums;

/**
 * Created by Administrator on 2018/5/24 0024.
 */
public enum StoreMgtEnum {
    SUCCESS(true,"成功"),
    FIND_SUCCESS(true,"查询成功"),
    FIND_FALSE(false,"查询失败"),
    ADD_SUCCESS(true,"新增成功"),
    FIND_REPEAT_FALSE(false,"仓库名称已被使用！"),
    ADD_FALSE(false,"新增失败"),
    EDIT_SUCCESS(true,"编辑成功"),
    EDIT_FALSE(false,"编辑失败"),
    DELETE_SUCCESS(true,"删除成功"),
    DELETE_FALSE(false,"删除失败"),
    FALSE(false,"失败");
    private boolean status;
    private String msg;
    public boolean isStatus() {
        return status;
    }
    public void setStatus(boolean status) {
        this.status = status;
    }
    public String getMsg() {
        return msg;
    }
    public void setMsg(String msg) {
        this.msg = msg;
    }
    private StoreMgtEnum(boolean status, String msg) {
        this.status = status;
        this.msg = msg;
    }
}
